using System;
using ns27;
using Triton.Game.Mono;

namespace Triton.Game.Mapping
{
	[Attribute38("SceneUtils")]
	public class SceneUtils : MonoClass
	{
		public SceneUtils(IntPtr address, string className)
			: base(address, className)
		{
		}

		public SceneUtils(IntPtr address)
			: this(address, "SceneUtils")
		{
		}

		public static void SetLayer(GameObject go, int layer)
		{
			MonoClass.smethod_19(TritonHs.MainAssemblyPath, "", "SceneUtils", "SetLayer", new Class276.Enum20[2]
			{
				Class276.Enum20.Class,
				Class276.Enum20.I4
			}, go, layer);
		}

		public static void SetLayer(Component c, int layer)
		{
			MonoClass.smethod_19(TritonHs.MainAssemblyPath, "", "SceneUtils", "SetLayer", new Class276.Enum20[2]
			{
				Class276.Enum20.Class,
				Class276.Enum20.I4
			}, c, layer);
		}

		public static void SetLayer(GameObject go, GameLayer layer)
		{
			MonoClass.smethod_19(TritonHs.MainAssemblyPath, "", "SceneUtils", "SetLayer", new Class276.Enum20[2]
			{
				Class276.Enum20.Class,
				Class276.Enum20.ValueType
			}, go, layer);
		}

		public static void SetLayer(Component c, GameLayer layer)
		{
			MonoClass.smethod_19(TritonHs.MainAssemblyPath, "", "SceneUtils", "SetLayer", new Class276.Enum20[2]
			{
				Class276.Enum20.Class,
				Class276.Enum20.ValueType
			}, c, layer);
		}

		public static void ReplaceLayer(GameObject parentObject, GameLayer newLayer, GameLayer oldLayer)
		{
			MonoClass.smethod_18(TritonHs.MainAssemblyPath, "", "SceneUtils", "ReplaceLayer", parentObject, newLayer, oldLayer);
		}

		public static string LayerMaskToString(LayerMask mask)
		{
			return MonoClass.smethod_12(TritonHs.MainAssemblyPath, "", "SceneUtils", "LayerMaskToString", mask);
		}

		public static void SetRenderQueue(GameObject go, int renderQueue, bool includeInactive)
		{
			MonoClass.smethod_18(TritonHs.MainAssemblyPath, "", "SceneUtils", "SetRenderQueue", go, renderQueue, includeInactive);
		}

		public static GameObject FindChild(GameObject parentObject, string name)
		{
			return MonoClass.smethod_15<GameObject>(TritonHs.MainAssemblyPath, "", "SceneUtils", "FindChild", new object[2] { parentObject, name });
		}

		public static GameObject FindChildBySubstring(GameObject parentObject, string substr)
		{
			return MonoClass.smethod_15<GameObject>(TritonHs.MainAssemblyPath, "", "SceneUtils", "FindChildBySubstring", new object[2] { parentObject, substr });
		}

		public static Transform FindFirstChild(Transform parent)
		{
			return MonoClass.smethod_15<Transform>(TritonHs.MainAssemblyPath, "", "SceneUtils", "FindFirstChild", new object[1] { parent });
		}

		public static bool IsAncestorOf(GameObject ancestor, GameObject descendant)
		{
			return MonoClass.smethod_11<bool>(TritonHs.MainAssemblyPath, "", "SceneUtils", "IsAncestorOf", new Class276.Enum20[2]
			{
				Class276.Enum20.Class,
				Class276.Enum20.Class
			}, new object[2] { ancestor, descendant });
		}

		public static bool IsAncestorOf(Component ancestor, Component descendant)
		{
			return MonoClass.smethod_11<bool>(TritonHs.MainAssemblyPath, "", "SceneUtils", "IsAncestorOf", new Class276.Enum20[2]
			{
				Class276.Enum20.Class,
				Class276.Enum20.Class
			}, new object[2] { ancestor, descendant });
		}

		public static bool IsDescendantOf(GameObject descendant, GameObject ancestor)
		{
			return MonoClass.smethod_11<bool>(TritonHs.MainAssemblyPath, "", "SceneUtils", "IsDescendantOf", new Class276.Enum20[2]
			{
				Class276.Enum20.Class,
				Class276.Enum20.Class
			}, new object[2] { descendant, ancestor });
		}

		public static bool IsDescendantOf(GameObject descendant, Component ancestor)
		{
			return MonoClass.smethod_11<bool>(TritonHs.MainAssemblyPath, "", "SceneUtils", "IsDescendantOf", new Class276.Enum20[2]
			{
				Class276.Enum20.Class,
				Class276.Enum20.Class
			}, new object[2] { descendant, ancestor });
		}

		public static bool IsDescendantOf(Component descendant, GameObject ancestor)
		{
			return MonoClass.smethod_11<bool>(TritonHs.MainAssemblyPath, "", "SceneUtils", "IsDescendantOf", new Class276.Enum20[2]
			{
				Class276.Enum20.Class,
				Class276.Enum20.Class
			}, new object[2] { descendant, ancestor });
		}

		public static bool IsDescendantOf(Component descendant, Component ancestor)
		{
			return MonoClass.smethod_11<bool>(TritonHs.MainAssemblyPath, "", "SceneUtils", "IsDescendantOf", new Class276.Enum20[2]
			{
				Class276.Enum20.Class,
				Class276.Enum20.Class
			}, new object[2] { descendant, ancestor });
		}

		public static GameObject FindTopParent(Component c)
		{
			return MonoClass.smethod_16<GameObject>(TritonHs.MainAssemblyPath, "", "SceneUtils", "FindTopParent", new Class276.Enum20[1] { Class276.Enum20.Class }, new object[1] { c });
		}

		public static GameObject FindTopParent(GameObject go)
		{
			return MonoClass.smethod_16<GameObject>(TritonHs.MainAssemblyPath, "", "SceneUtils", "FindTopParent", new Class276.Enum20[1] { Class276.Enum20.Class }, new object[1] { go });
		}

		public static GameObject FindChildByTag(GameObject go, string tag)
		{
			return MonoClass.smethod_15<GameObject>(TritonHs.MainAssemblyPath, "", "SceneUtils", "FindChildByTag", new object[2] { go, tag });
		}

		public static void EnableRenderers(Component c, bool enable)
		{
			MonoClass.smethod_19(TritonHs.MainAssemblyPath, "", "SceneUtils", "EnableRenderers", new Class276.Enum20[2]
			{
				Class276.Enum20.Class,
				Class276.Enum20.Boolean
			}, c, enable);
		}

		public static void EnableRenderers(GameObject go, bool enable)
		{
			MonoClass.smethod_19(TritonHs.MainAssemblyPath, "", "SceneUtils", "EnableRenderers", new Class276.Enum20[2]
			{
				Class276.Enum20.Class,
				Class276.Enum20.Boolean
			}, go, enable);
		}

		public static void EnableRenderers(Component c, bool enable, bool includeInactive)
		{
			MonoClass.smethod_19(TritonHs.MainAssemblyPath, "", "SceneUtils", "EnableRenderers", new Class276.Enum20[3]
			{
				Class276.Enum20.Class,
				Class276.Enum20.Boolean,
				Class276.Enum20.Boolean
			}, c, enable, includeInactive);
		}

		public static void EnableRenderers(GameObject go, bool enable, bool includeInactive)
		{
			MonoClass.smethod_19(TritonHs.MainAssemblyPath, "", "SceneUtils", "EnableRenderers", new Class276.Enum20[3]
			{
				Class276.Enum20.Class,
				Class276.Enum20.Boolean,
				Class276.Enum20.Boolean
			}, go, enable, includeInactive);
		}

		public static void EnableColliders(Component c, bool enable)
		{
			MonoClass.smethod_19(TritonHs.MainAssemblyPath, "", "SceneUtils", "EnableColliders", new Class276.Enum20[2]
			{
				Class276.Enum20.Class,
				Class276.Enum20.Boolean
			}, c, enable);
		}

		public static void EnableColliders(GameObject go, bool enable)
		{
			MonoClass.smethod_19(TritonHs.MainAssemblyPath, "", "SceneUtils", "EnableColliders", new Class276.Enum20[2]
			{
				Class276.Enum20.Class,
				Class276.Enum20.Boolean
			}, go, enable);
		}

		public static void EnableRenderersAndColliders(Component c, bool enable)
		{
			MonoClass.smethod_19(TritonHs.MainAssemblyPath, "", "SceneUtils", "EnableRenderersAndColliders", new Class276.Enum20[2]
			{
				Class276.Enum20.Class,
				Class276.Enum20.Boolean
			}, c, enable);
		}

		public static void EnableRenderersAndColliders(GameObject go, bool enable)
		{
			MonoClass.smethod_19(TritonHs.MainAssemblyPath, "", "SceneUtils", "EnableRenderersAndColliders", new Class276.Enum20[2]
			{
				Class276.Enum20.Class,
				Class276.Enum20.Boolean
			}, go, enable);
		}

		public static void ResizeBoxCollider(GameObject go, Component worldCorner1, Component worldCorner2)
		{
			MonoClass.smethod_19(TritonHs.MainAssemblyPath, "", "SceneUtils", "ResizeBoxCollider", new Class276.Enum20[3]
			{
				Class276.Enum20.Class,
				Class276.Enum20.Class,
				Class276.Enum20.Class
			}, go, worldCorner1, worldCorner2);
		}

		public static void ResizeBoxCollider(GameObject go, GameObject worldCorner1, Component worldCorner2)
		{
			MonoClass.smethod_19(TritonHs.MainAssemblyPath, "", "SceneUtils", "ResizeBoxCollider", new Class276.Enum20[3]
			{
				Class276.Enum20.Class,
				Class276.Enum20.Class,
				Class276.Enum20.Class
			}, go, worldCorner1, worldCorner2);
		}

		public static void ResizeBoxCollider(GameObject go, Component worldCorner1, GameObject worldCorner2)
		{
			MonoClass.smethod_19(TritonHs.MainAssemblyPath, "", "SceneUtils", "ResizeBoxCollider", new Class276.Enum20[3]
			{
				Class276.Enum20.Class,
				Class276.Enum20.Class,
				Class276.Enum20.Class
			}, go, worldCorner1, worldCorner2);
		}

		public static void ResizeBoxCollider(GameObject go, GameObject worldCorner1, GameObject worldCorner2)
		{
			MonoClass.smethod_19(TritonHs.MainAssemblyPath, "", "SceneUtils", "ResizeBoxCollider", new Class276.Enum20[3]
			{
				Class276.Enum20.Class,
				Class276.Enum20.Class,
				Class276.Enum20.Class
			}, go, worldCorner1, worldCorner2);
		}

		public static void ResizeBoxCollider(Component c, Component worldCorner1, Component worldCorner2)
		{
			MonoClass.smethod_19(TritonHs.MainAssemblyPath, "", "SceneUtils", "ResizeBoxCollider", new Class276.Enum20[3]
			{
				Class276.Enum20.Class,
				Class276.Enum20.Class,
				Class276.Enum20.Class
			}, c, worldCorner1, worldCorner2);
		}

		public static void ResizeBoxCollider(Component c, GameObject worldCorner1, Component worldCorner2)
		{
			MonoClass.smethod_19(TritonHs.MainAssemblyPath, "", "SceneUtils", "ResizeBoxCollider", new Class276.Enum20[3]
			{
				Class276.Enum20.Class,
				Class276.Enum20.Class,
				Class276.Enum20.Class
			}, c, worldCorner1, worldCorner2);
		}

		public static void ResizeBoxCollider(Component c, Component worldCorner1, GameObject worldCorner2)
		{
			MonoClass.smethod_19(TritonHs.MainAssemblyPath, "", "SceneUtils", "ResizeBoxCollider", new Class276.Enum20[3]
			{
				Class276.Enum20.Class,
				Class276.Enum20.Class,
				Class276.Enum20.Class
			}, c, worldCorner1, worldCorner2);
		}

		public static void ResizeBoxCollider(Component c, GameObject worldCorner1, GameObject worldCorner2)
		{
			MonoClass.smethod_19(TritonHs.MainAssemblyPath, "", "SceneUtils", "ResizeBoxCollider", new Class276.Enum20[3]
			{
				Class276.Enum20.Class,
				Class276.Enum20.Class,
				Class276.Enum20.Class
			}, c, worldCorner1, worldCorner2);
		}

		public static void ResizeBoxCollider(GameObject go, Bounds bounds)
		{
			MonoClass.smethod_19(TritonHs.MainAssemblyPath, "", "SceneUtils", "ResizeBoxCollider", new Class276.Enum20[2]
			{
				Class276.Enum20.Class,
				Class276.Enum20.ValueType
			}, go, bounds);
		}

		public static void ResizeBoxCollider(Component c, Bounds bounds)
		{
			MonoClass.smethod_19(TritonHs.MainAssemblyPath, "", "SceneUtils", "ResizeBoxCollider", new Class276.Enum20[2]
			{
				Class276.Enum20.Class,
				Class276.Enum20.ValueType
			}, c, bounds);
		}

		public static void ResizeBoxCollider(GameObject go, Vector3 worldCorner1, Vector3 worldCorner2)
		{
			MonoClass.smethod_19(TritonHs.MainAssemblyPath, "", "SceneUtils", "ResizeBoxCollider", new Class276.Enum20[3]
			{
				Class276.Enum20.Class,
				Class276.Enum20.ValueType,
				Class276.Enum20.ValueType
			}, go, worldCorner1, worldCorner2);
		}

		public static void ResizeBoxCollider(Component c, Vector3 worldCorner1, Vector3 worldCorner2)
		{
			MonoClass.smethod_19(TritonHs.MainAssemblyPath, "", "SceneUtils", "ResizeBoxCollider", new Class276.Enum20[3]
			{
				Class276.Enum20.Class,
				Class276.Enum20.ValueType,
				Class276.Enum20.ValueType
			}, c, worldCorner1, worldCorner2);
		}

		public static Transform CreateBone(GameObject template)
		{
			return MonoClass.smethod_16<Transform>(TritonHs.MainAssemblyPath, "", "SceneUtils", "CreateBone", new Class276.Enum20[1] { Class276.Enum20.Class }, new object[1] { template });
		}

		public static Transform CreateBone(Component template)
		{
			return MonoClass.smethod_16<Transform>(TritonHs.MainAssemblyPath, "", "SceneUtils", "CreateBone", new Class276.Enum20[1] { Class276.Enum20.Class }, new object[1] { template });
		}

		public static void SetHideFlags(object obj, HideFlags flags)
		{
			MonoClass.smethod_18(TritonHs.MainAssemblyPath, "", "SceneUtils", "SetHideFlags", obj, flags);
		}
	}
}
